package com.tadpole.music.bean.home;

import java.util.List;

/**
 * Created By 孙岩
 * on 2020/12/10
 */
public class ClockInRankBean {

    /**
     * code : 200
     * data : {"list":[{"is_me":true,"sign":{"id":3,"user_id":1,"continue_sign_days":0,"total_sign_days":1,"user":{"id":1,"nickname":"不知道天外飞","avatar":"https://thirdwx.qlogo.cn/mmopen/vi_32/DYAIOgq83eolV3ElqnAIstV3Txd8YrJvGMYCZr1NwlqeaoZL0aa0ZBIAlkngNmIjkHSiaBvnsuGlfr6YbAcqIEA/132"}}}],"rank":1}
     * msg : ok
     */

    private int code;
    private DataBean data;
    private String msg;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public static class DataBean {
        /**
         * list : [{"is_me":true,"sign":{"id":3,"user_id":1,"continue_sign_days":0,"total_sign_days":1,"user":{"id":1,"nickname":"不知道天外飞","avatar":"https://thirdwx.qlogo.cn/mmopen/vi_32/DYAIOgq83eolV3ElqnAIstV3Txd8YrJvGMYCZr1NwlqeaoZL0aa0ZBIAlkngNmIjkHSiaBvnsuGlfr6YbAcqIEA/132"}}}]
         * rank : 1
         */

        private int rank;
        private List<ListBean> list;

        public DataBean(int rank, List<ListBean> list) {
            this.rank = rank;
            this.list = list;
        }

        public int getRank() {
            return rank;
        }

        public void setRank(int rank) {
            this.rank = rank;
        }

        public List<ListBean> getList() {
            return list;
        }

        public void setList(List<ListBean> list) {
            this.list = list;
        }

        public static class ListBean {
            /**
             * is_me : true
             * sign : {"id":3,"user_id":1,"continue_sign_days":0,"total_sign_days":1,"user":{"id":1,"nickname":"不知道天外飞","avatar":"https://thirdwx.qlogo.cn/mmopen/vi_32/DYAIOgq83eolV3ElqnAIstV3Txd8YrJvGMYCZr1NwlqeaoZL0aa0ZBIAlkngNmIjkHSiaBvnsuGlfr6YbAcqIEA/132"}}
             */

            private boolean is_me;
            private SignBean sign;

            public ListBean(boolean is_me, SignBean sign) {
                this.is_me = is_me;
                this.sign = sign;
            }

            public boolean isIs_me() {
                return is_me;
            }

            public void setIs_me(boolean is_me) {
                this.is_me = is_me;
            }

            public SignBean getSign() {
                return sign;
            }

            public void setSign(SignBean sign) {
                this.sign = sign;
            }

            public static class SignBean {
                /**
                 * id : 3
                 * user_id : 1
                 * continue_sign_days : 0
                 * total_sign_days : 1
                 * user : {"id":1,"nickname":"不知道天外飞","avatar":"https://thirdwx.qlogo.cn/mmopen/vi_32/DYAIOgq83eolV3ElqnAIstV3Txd8YrJvGMYCZr1NwlqeaoZL0aa0ZBIAlkngNmIjkHSiaBvnsuGlfr6YbAcqIEA/132"}
                 */

                private int id;
                private int user_id;
                private int continue_sign_days;
                private int total_sign_days;
                private UserBean user;

                public SignBean(int id, int user_id, int continue_sign_days, int total_sign_days, UserBean user) {
                    this.id = id;
                    this.user_id = user_id;
                    this.continue_sign_days = continue_sign_days;
                    this.total_sign_days = total_sign_days;
                    this.user = user;
                }

                public int getId() {
                    return id;
                }

                public void setId(int id) {
                    this.id = id;
                }

                public int getUser_id() {
                    return user_id;
                }

                public void setUser_id(int user_id) {
                    this.user_id = user_id;
                }

                public int getContinue_sign_days() {
                    return continue_sign_days;
                }

                public void setContinue_sign_days(int continue_sign_days) {
                    this.continue_sign_days = continue_sign_days;
                }

                public int getTotal_sign_days() {
                    return total_sign_days;
                }

                public void setTotal_sign_days(int total_sign_days) {
                    this.total_sign_days = total_sign_days;
                }

                public UserBean getUser() {
                    return user;
                }

                public void setUser(UserBean user) {
                    this.user = user;
                }

                public static class UserBean {
                    /**
                     * id : 1
                     * nickname : 不知道天外飞
                     * avatar : https://thirdwx.qlogo.cn/mmopen/vi_32/DYAIOgq83eolV3ElqnAIstV3Txd8YrJvGMYCZr1NwlqeaoZL0aa0ZBIAlkngNmIjkHSiaBvnsuGlfr6YbAcqIEA/132
                     */

                    private int id;
                    private String nickname;
                    private String avatar;

                    public UserBean(int id, String nickname, String avatar) {
                        this.id = id;
                        this.nickname = nickname;
                        this.avatar = avatar;
                    }

                    public int getId() {
                        return id;
                    }

                    public void setId(int id) {
                        this.id = id;
                    }

                    public String getNickname() {
                        return nickname;
                    }

                    public void setNickname(String nickname) {
                        this.nickname = nickname;
                    }

                    public String getAvatar() {
                        return avatar;
                    }

                    public void setAvatar(String avatar) {
                        this.avatar = avatar;
                    }
                }
            }
        }
    }
}
